package ooday01exercise;

public class CarTest {
    public static void main(String[] args) {
        Car bc = new Car();
        bc.brand="奔驰";
        bc.color = "红";
        bc.price = 37485;
        bc.capacity = 4;
        bc.power = "电动";
        bc.start();
        bc.run();
        bc.stop();

        Car bm = new Car("宝马","黑",2355236,4,"油车");
        bm.start();
        bm.run();
        bm.stop();
    }
}
